#ifndef QTHREADRUN_H
#define QTHREADRUN_H

#include <QThread>
#include <QDebug>

class QThreadRun : public QThread
{
    Q_OBJECT

public:
    QThreadRun();
    ~QThreadRun();

    void setSwitch(bool flag);
    void run();

private:
    bool startFlag;

};

#endif // QTHREADRUN_H
